/*
 * @Date: 2023-03-10 19:34:30
 * @Description: 
 */
import { createNameComponent } from '../createNode';



/** 账号管理 */
const accountManagement = {
  /** 学生账号 */
  studentAccount: createNameComponent(() => import('@/views/main/admin/accountManagement/studentAccount/index.vue')),
  /** 教师账号 */
  teacherAccount: createNameComponent(() => import('@/views/main/admin/accountManagement/teacherAccount/index.vue')),
}


/** 集群管理 */
const clusterManagement = {
  // /** 集群管理 */
  // clusterResource: createNameComponent(() => import('@/views/main/admin/clusterManagement/clusterResource/index.vue')),
  // /** 集群资源的增删改查 */
  // clusterCIRD: createNameComponent(() => import('@/views/main/admin/clusterManagement/clusterCIRD/index.vue')),
  /** 容器负载 */
  podsLoad: createNameComponent(() => import('@/views/main/admin/clusterManagement/podsLoad/index.vue')),
}

const defaultParams = {
  defaultParams: createNameComponent(() => import('@/views/main/admin/defaultParams/index.vue')),
}

const onlineUser = {
  defaultPonlineUserarams: createNameComponent(() => import('@/views/main/admin/onlineUser/index.vue')),
}
/** 学生界面 */
const student = {
  /** 我的基本信息 */
  student: createNameComponent(() => import('@/views/main/student/home/index.vue')),
}

/** 教师界面 */
const teacher = {
  /** 教师基本信息 */
  teacher: createNameComponent(() => import('@/views/main/teacher/home/index.vue')),
}


/** 导出所有路由，供后端配置使用 */
const allRoutes = {
  defaultParams,
  // onlineUser,
  accountManagement,
  clusterManagement,
  // student,
  // teacher,
  
}

export default allRoutes